Dialog: Clarify that response ID 0 is not reserved
authorDaniel Boles <dboles@src.gnome.org>
Sun, 8 Oct 2017 21:19:13 +0000 (22:19 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Sun, 8 Oct 2017 21:21:12 +0000 (22:21 +0100)
I only got so far in math, but it looks to me like zero isn’t positive.
We don’t reserve it, so be clear about that.

gtk/gtkdialog.h

index 505db6af2a6dce0662a71268401a169c1cfd0431..4786a49ba98041985af8ece1e448dff3126f02fe 100644 (file)
@@ -67,7 +67,7 @@ typedef enum
  * @GTK_RESPONSE_HELP: Returned by Help buttons in GTK+ dialogs
  *
  * Predefined values for use as response ids in gtk_dialog_add_button().
- * All predefined values are negative, GTK+ leaves positive values for
+ * All predefined values are negative; GTK+ leaves values of 0 or greater for
  * application-defined response ids.
  */
 typedef enum